﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Data.AID;

namespace Business.AID
{
    public class HistoricoBO
    {
        public void CreateHistory(Historico history)
        {
            HistoricoDAO historicoDAO = new HistoricoDAO();
            historicoDAO.CreateHistory(history);
        }
        public List<Historico> GetHistoryByForm(int form)
        {
            HistoricoDAO historicoDAO = new HistoricoDAO();
            return historicoDAO.GetHistoryByForm(form);
        }
    }
}
